API Documentation
Pass.h
1 // Pass.h
3 //
5 
6 namespace nkGraphics
7 {
14  class Pass : public ProfilableClass, public nkExport::Exportable
15  {
16  public :
17 
18  // Constructor, destructor
23  Pass () ;
28  virtual ~Pass () ;
29 
37  PASS_TYPE getType () const ;
42 
48  void setParent (TargetOperations* parent) ;
54  void setName (const nkMemory::StringView& name) ;
55 
60  virtual void render () = 0 ;
61 
67  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
73  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
74  } ;
75 }
nkGraphics::ProfilableClass
WIP. Functionality should not be used for now.
Definition: ProfilableClass.h:21
nkGraphics::Pass::~Pass
virtual ~Pass()
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::TargetOperations
Describes a target operation set.
Definition: TargetOperations.h:15
nkGraphics::Pass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::Pass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::Pass::getParent
TargetOperations * getParent() const
nkGraphics::Pass::getType
PASS_TYPE getType() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::PASS_TYPE
PASS_TYPE
The pass types available in the component.
Definition: PassType.h:12
nkGraphics::Pass::getName
nkMemory::StringView getName() const
nkGraphics::Pass::setName
void setName(const nkMemory::StringView &name)
nkGraphics::Pass::render
virtual void render()=0
nkGraphics::Pass::setParent
void setParent(TargetOperations *parent)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Pass::Pass
Pass()